.class Les/qm$b;
.super Ljava/lang/Object;
.source "BookmarkChild.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/qm;->a(Landroid/os/Handler;II)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:[I

.field final synthetic b:I

.field final synthetic c:I

.field final synthetic d:Landroid/os/Handler;

.field final synthetic e:Lcom/estrongs/android/pop/view/FileExplorerActivity;

.field final synthetic f:Les/qm;


# direct methods
.method constructor <init>(Les/qm;[IIILandroid/os/Handler;Lcom/estrongs/android/pop/view/FileExplorerActivity;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/qm$b;->f:Les/qm;

    iput-object p2, p0, Les/qm$b;->a:[I

    iput p3, p0, Les/qm$b;->b:I

    iput p4, p0, Les/qm$b;->c:I

    iput-object p5, p0, Les/qm$b;->d:Landroid/os/Handler;

    iput-object p6, p0, Les/qm$b;->e:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 4

    .line 1
    iget-object v0, p0, Les/qm$b;->a:[I

    aget p2, v0, p2

    if-nez p2, :cond_0

    .line 2
    new-instance p2, Landroid/os/Message;

    invoke-direct {p2}, Landroid/os/Message;-><init>()V

    const/16 v0, 0x66

    .line 3
    iput v0, p2, Landroid/os/Message;->what:I

    .line 4
    iget v0, p0, Les/qm$b;->b:I

    iput v0, p2, Landroid/os/Message;->arg1:I

    .line 5
    iget v0, p0, Les/qm$b;->c:I

    iput v0, p2, Landroid/os/Message;->arg2:I

    .line 6
    iget-object v0, p0, Les/qm$b;->d:Landroid/os/Handler;

    invoke-virtual {v0, p2}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    goto/16 :goto_0

    :cond_0
    const/4 v0, 0x1

    if-ne p2, v0, :cond_1

    .line 7
    new-instance p2, Landroid/os/Message;

    invoke-direct {p2}, Landroid/os/Message;-><init>()V

    const/16 v0, 0x65

    .line 8
    iput v0, p2, Landroid/os/Message;->what:I

    .line 9
    iget v0, p0, Les/qm$b;->b:I

    iput v0, p2, Landroid/os/Message;->arg1:I

    .line 10
    iget v0, p0, Les/qm$b;->c:I

    iput v0, p2, Landroid/os/Message;->arg2:I

    .line 11
    iget-object v0, p0, Les/qm$b;->d:Landroid/os/Handler;

    invoke-virtual {v0, p2}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    goto/16 :goto_0

    :cond_1
    const/4 v0, 0x2

    if-ne p2, v0, :cond_2

    .line 12
    iget-object p2, p0, Les/qm$b;->e:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v0, p0, Les/qm$b;->f:Les/qm;

    invoke-virtual {v0}, Les/pm;->e()Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x0

    invoke-static {p2, v0, v1}, Les/az;->a(Landroid/content/Context;Ljava/lang/String;Landroid/content/DialogInterface$OnDismissListener;)V

    goto/16 :goto_0

    :cond_2
    const/4 v0, 0x3

    if-ne p2, v0, :cond_4

    .line 13
    iget-object p2, p0, Les/qm$b;->f:Les/qm;

    invoke-virtual {p2}, Les/pm;->d()Ljava/lang/String;

    move-result-object p2

    invoke-static {p2}, Lcom/estrongs/android/util/h0;->s1(Ljava/lang/String;)Z

    move-result p2

    if-eqz p2, :cond_3

    .line 14
    new-instance p2, Lcom/estrongs/android/ui/dialog/s0;

    iget-object v0, p0, Les/qm$b;->e:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    new-instance v1, Les/d30;

    iget-object v2, p0, Les/qm$b;->f:Les/qm;

    invoke-virtual {v2}, Les/pm;->e()Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Les/qm$b;->f:Les/qm;

    invoke-virtual {v3}, Les/pm;->d()Ljava/lang/String;

    move-result-object v3

    invoke-direct {v1, v2, v3}, Les/d30;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-direct {p2, v0, v1}, Lcom/estrongs/android/ui/dialog/s0;-><init>(Landroid/app/Activity;Lcom/estrongs/fs/g;)V

    invoke-virtual {p2}, Lcom/estrongs/android/ui/dialog/s0;->a()V

    goto :goto_0

    .line 15
    :cond_3
    new-instance p2, Lcom/estrongs/android/ui/dialog/s0;

    iget-object v0, p0, Les/qm$b;->e:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v1, p0, Les/qm$b;->f:Les/qm;

    invoke-virtual {v1}, Les/pm;->d()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/estrongs/android/util/h0;->l(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x0

    invoke-direct {p2, v0, v1, v2}, Lcom/estrongs/android/ui/dialog/s0;-><init>(Landroid/app/Activity;Ljava/lang/String;Z)V

    invoke-virtual {p2}, Lcom/estrongs/android/ui/dialog/s0;->a()V

    goto :goto_0

    :cond_4
    const/4 v0, 0x4

    if-ne p2, v0, :cond_7

    .line 16
    iget-object p2, p0, Les/qm$b;->f:Les/qm;

    iget-object p2, p2, Les/qm;->f:Ljava/lang/String;

    if-eqz p2, :cond_5

    .line 17
    invoke-static {p2}, Lcom/estrongs/android/pop/utils/v;->a(Ljava/lang/String;)V

    goto :goto_0

    .line 18
    :cond_5
    new-instance p2, Ljava/io/File;

    iget-object v0, p0, Les/qm$b;->f:Les/qm;

    iget-object v1, v0, Les/qm;->e:Ljava/lang/String;

    .line 19
    invoke-virtual {v0}, Les/pm;->e()Ljava/lang/String;

    move-result-object v0

    invoke-direct {p2, v1, v0}, Ljava/io/File;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    .line 20
    invoke-virtual {p2}, Ljava/io/File;->exists()Z

    move-result v0

    if-eqz v0, :cond_6

    .line 21
    invoke-static {p2}, Lcom/estrongs/android/util/m0;->a(Ljava/io/File;)V

    goto :goto_0

    .line 22
    :cond_6
    new-instance p2, Ljava/io/File;

    sget-object v0, Lcom/estrongs/android/pop/b;->e:Ljava/lang/String;

    iget-object v1, p0, Les/qm$b;->f:Les/qm;

    .line 23
    invoke-virtual {v1}, Les/pm;->e()Ljava/lang/String;

    move-result-object v1

    invoke-direct {p2, v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    .line 24
    invoke-virtual {p2}, Ljava/io/File;->exists()Z

    move-result v0

    if-eqz v0, :cond_7

    .line 25
    invoke-static {p2}, Lcom/estrongs/android/util/m0;->a(Ljava/io/File;)V

    .line 26
    :cond_7
    :goto_0
    invoke-interface {p1}, Landroid/content/DialogInterface;->dismiss()V

    return-void
.end method
